const express = require("express")

const proxy = require("http-proxy-middleware")

const app = express()

app.use(express.static(__dirname + "/"))
app.use(
  "/api",
  proxy.createProxyMiddleware({
    target: "http://localhost:8088"
  })
)
app.listen(8888)
